import { CommonType } from '@/common/dto/common.type';
import { ObjectType, Field } from '@nestjs/graphql';

@ObjectType()
export class TempType extends CommonType {
  @Field({ description: '昵称', nullable: true })
  name: string;
  @Field({ description: '手机号', nullable: true })
  tel: string;
  @Field({ description: '用户头像', nullable: true })
  avatar: string;
  @Field({ description: '账号', nullable: true })
  account: string;
  @Field({
    description: 'openid',
    nullable: true,
  })
  openid?: string;
}
